package com.fatdetection.demo.controller;

import com.fatdetection.demo.util.QiniuUtils;
import com.fatdetection.demo.util.UploadUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.multipart.MultipartFile;

@RestController
public class BaseController {
    @Autowired
    UploadUtils uploadUtils;
    @Autowired
    QiniuUtils qiniuUtils;

    @PostMapping("/test")
    public boolean test(MultipartFile file, String fileName){
      return false;
    }
}
